import { IPortalViewAbility } from '../ability';
import { PortalViewActionType } from '../event';
import { IViewControllerParams } from './i-view-controller-params';

/**
 * 应用看板视图控制器输入参数接口
 *
 * @export
 * @interface IEditViewControllerParams
 * @extends {IViewControllerParams<T, A>}
 * @template T 视图行为类型接口
 * @template A 视图能力接口
 */
export type IPortalViewControllerParams<
	T,
	A extends IPortalViewAbility
> = IViewControllerParams<T | PortalViewActionType, A>;
